package model;

/**
 *
 * @author Dustin
 */
public class Main {
    public static void main(String[] args) {
        HumanPlayer p1 = new HumanPlayer("A");
        HumanPlayer p2 = new HumanPlayer("B");
        HumanPlayer p3 = new HumanPlayer("C");
        HumanPlayer p4 = new HumanPlayer("D");
        p2.setDealer(true);

        Table t = new Table("Test");

        t.setPlayer(0, p1);
        t.setPlayer(1, p2);
        t.setPlayer(2, p3);
        t.setPlayer(3, p4);

        p2.deal(t);
        System.out.println("Round 1");
        t.printTable();

        p1.swapCard(t, 0, 0);
        p3.swapCards(t);
        System.out.println("Round 2");
        t.printTable();
    }
}
